package com.dms.service;

import com.dms.pojo.Building;
import com.dms.pojo.Repair;

import java.util.List;

/**
 * @className: RepairManageService
 * @package: com.dms.service
 * @description 后勤服务的报修模块的业务逻辑层接口
 * @author: sk
 */
public interface RepairManageService {

    //获取楼栋列表
    List<Building> getBuildingList();

    //模糊查询报修列表
    List<Repair> getRepairListLimit(String query, Integer select, String startData, String endData,int pageNum, int pageSize);

    //获取total
    int getRepairTotal(String query, Integer select, String startData, String endData);

    //设置报修解决时间
    int updateProcessingTime(Integer repairId, String processingTime);

    //根据id删除报修想你想
    int deleteRepair(Integer repairId);

    //物品报修申请
    int addRepair(String dormitoryId, String repairTime, String repairReason);
}
